package tech.aistar.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/10/12.
 */
public class PostVo implements Serializable{

    private Post post;
    private UserInfo userInfo;
    private Classs classs;

    public PostVo() {
    }

    public PostVo(Post post, UserInfo userInfo, Classs classs) {
        this.post = post;
        this.userInfo = userInfo;
        this.classs = classs;
    }

    public Post getPost() {
        return post;
    }

    public void setPost(Post post) {
        this.post = post;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Classs getClasss() {
        return classs;
    }

    public void setClasss(Classs classs) {
        this.classs = classs;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PostVo{");
        sb.append("post=").append(post);
        sb.append(", userInfo=").append(userInfo);
        sb.append(", classs=").append(classs);
        sb.append('}');
        return sb.toString();
    }
}
